﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DAL
{
    public class Userinfoservice
    {
        public DataSet Checklogin(string username,string userpwd) 
        {
            DBHelper dBHelper = new DBHelper();
            DataSet ds = dBHelper.SelectData(string.Format("select * from login where name = '{0}' and password='{1}'",username,userpwd));
            return ds;
        }
    }
}
